<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>   
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ page import="com.hmsm.sys.po.UserInfo"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title></title>
	<link type="text/css" rel="stylesheet" href="<s:property value="#session.themeStyle.mainCss" default="Skin/PM/cyan/main.css"/>" />
	<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"/>
	<script src="<%=basePath %>js/jquery.js" type="text/javascript"></script>
	<style type="text/css">

		.ErrorTitle {
			font-size: 38px;
			color: #3497cf;
			font-weight: bold;
		}
		
		.ErrorMessage li {
			list-style:none;
		}
		
		.ErrorMessage {
			font-size: 18px;
			color: red;
			font-weight: bold;
		}
	</style>
	<script type="text/javascript">
		$(document).ready(function(){
			initSize();
		});
		function initSize(){
			var height = $(window.parent.frames["mainFrame"]).height()-3;
			var width = window.parent.document.getElementById("mainFrame").width-2;
			$("#divMain").height(height);
			$("#divMain").width(width);
		}
		
	</script>
</head>
<body onresize="initSize()">
	<div id="divMain" style="border:white 1px solid; border-bottom: #ABABAB 1px solid;border-right: #ABABAB 1px solid;min-width: 960px;padding: 0px;margin: 0px;">
		<div style="margin-top: 180px;font-size: 14px;text-align: center;">
			<span class="ErrorTitle" >发生错误！！！</span>
			<br/><br/>
			<s:if test="message==null||message.length==0">
				<s:actionerror cssClass="ErrorMessage"/><br/>
			</s:if><s:else>
				<span class="ErrorMessage"><s:property value="message"/></span>
			</s:else>
		</div>
	</div>
</body>
</html>